﻿using Kimd.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kimd.Communication
{
    public class ModbusConfig
    {
        [DisplayName("IP"), Category("Modbus属性")]
        public string IP { get; set; } = "192.168.1.10";
        [DisplayName("端口"), Category("Modbus属性")]
        public int Port { get; set; } = 502;
        [DisplayName("站号"), Category("Modbus属性")]
        public byte StationNo { get; set; } = 1;
        [Browsable(false)]
        public SerializableDictionary<string, string> SendCmd { get; set; } = new SerializableDictionary<string, string>();

    }
}
